home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12623 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  714 b 

  1. Path: news.ljusdal.se!news
  2. From: Marcsu <marcus.berggren@ljusdal.se>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: ClearScreen in C
  5. Date: Mon, 01 Apr 1996 22:22:21 -0800
  6. Organization: Ljusdals Kommun (LjusNET)
  7. Message-ID: <3160C79D.7A2E@ljusdal.se>
  8. References: <DozLqI.6Du@undergrad.math.uwaterloo.ca>
  9. NNTP-Posting-Host: cisco500_7.ljusdal.se
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. Stephane Lalonde wrote:
  16. > I am programming in C and for the user interface, I would
  17. > like to clearscreen when I move from menu to menu.
  18. >stephane
  19.  
  20. Under DOS:
  21.  
  22. include <conio.h>
  23.     clrscr();
  24.  
  25. under UNIX:
  26.  
  27. use a systemcall;
  28.  
  29.     system("clear");
  30.  
  31. /marcsu
  32.